package cj.web.admin.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

/**
 * 新媒体矩阵
 */
public class NewMediaMatrix extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 8814639346163093745L;
	protected int id;
	protected String title;
	protected String matrixType;
	protected String category;
	protected String carouselImage;
	protected String qrCode;
	protected String website;
	protected Integer deleteFlag;
	protected String createUser;
	protected String createAT;
	protected String updateUser;
	protected String updateAT;
	protected String content;
	protected String iosqrCode;
	protected int orderNo;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getMatrixType() {
		return matrixType;
	}
	public void setMatrixType(String matrixType) {
		this.matrixType = matrixType;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getCarouselImage() {
		return carouselImage;
	}
	public void setCarouselImage(String carouselImage) {
		this.carouselImage = carouselImage;
	}
	public String getQrCode() {
		return qrCode;
	}
	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}
	public String getWebsite() {
		return website;
	}
	public void setWebsite(String website) {
		this.website = website;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAT() {
		return createAT;
	}
	public void setCreateAT(String createAT) {
		this.createAT = createAT;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateAT() {
		return updateAT;
	}
	public void setUpdateAT(String updateAT) {
		this.updateAT = updateAT;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getIosqrCode() {
		return iosqrCode;
	}
	public void setIosqrCode(String iosqrCode) {
		this.iosqrCode = iosqrCode;
	}
	public int getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(int orderNo) {
		this.orderNo = orderNo;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((carouselImage == null) ? 0 : carouselImage.hashCode());
		result = prime * result
				+ ((category == null) ? 0 : category.hashCode());
		result = prime * result + ((content == null) ? 0 : content.hashCode());
		result = prime * result
				+ ((createAT == null) ? 0 : createAT.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + id;
		result = prime * result
				+ ((iosqrCode == null) ? 0 : iosqrCode.hashCode());
		result = prime * result
				+ ((matrixType == null) ? 0 : matrixType.hashCode());
		result = prime * result + orderNo;
		result = prime * result + ((qrCode == null) ? 0 : qrCode.hashCode());
		result = prime * result + ((title == null) ? 0 : title.hashCode());
		result = prime * result
				+ ((updateAT == null) ? 0 : updateAT.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result + ((website == null) ? 0 : website.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		NewMediaMatrix other = (NewMediaMatrix) obj;
		if (carouselImage == null) {
			if (other.carouselImage != null)
				return false;
		} else if (!carouselImage.equals(other.carouselImage))
			return false;
		if (category == null) {
			if (other.category != null)
				return false;
		} else if (!category.equals(other.category))
			return false;
		if (content == null) {
			if (other.content != null)
				return false;
		} else if (!content.equals(other.content))
			return false;
		if (createAT == null) {
			if (other.createAT != null)
				return false;
		} else if (!createAT.equals(other.createAT))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (id != other.id)
			return false;
		if (iosqrCode == null) {
			if (other.iosqrCode != null)
				return false;
		} else if (!iosqrCode.equals(other.iosqrCode))
			return false;
		if (matrixType == null) {
			if (other.matrixType != null)
				return false;
		} else if (!matrixType.equals(other.matrixType))
			return false;
		if (orderNo != other.orderNo)
			return false;
		if (qrCode == null) {
			if (other.qrCode != null)
				return false;
		} else if (!qrCode.equals(other.qrCode))
			return false;
		if (title == null) {
			if (other.title != null)
				return false;
		} else if (!title.equals(other.title))
			return false;
		if (updateAT == null) {
			if (other.updateAT != null)
				return false;
		} else if (!updateAT.equals(other.updateAT))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (website == null) {
			if (other.website != null)
				return false;
		} else if (!website.equals(other.website))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "NewMediaMatrix [id=" + id + ", title=" + title
				+ ", matrixType=" + matrixType + ", category=" + category
				+ ", carouselImage=" + carouselImage + ", qrCode=" + qrCode
				+ ", website=" + website + ", deleteFlag=" + deleteFlag
				+ ", createUser=" + createUser + ", createAT=" + createAT
				+ ", updateUser=" + updateUser + ", updateAT=" + updateAT
				+ ", content=" + content + ", iosqrCode=" + iosqrCode
				+ ", orderNo=" + orderNo + "]";
	}
}
